package org.jeecg.modules.user.pay.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 支付宝交易记录表
 * @Author: jeecg-boot
 * @Date:   2021-06-03
 * @Version: V1.0
 */
@Data
@TableName("bike_ali_order_pay")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_ali_order_pay对象", description="支付宝交易记录表")
public class BikeAliOrderPay implements Serializable {
    private static final long serialVersionUID = 1L;

	/**商户订单号*/
	@Excel(name = "商户订单号", width = 15)
    @ApiModelProperty(value = "商户订单号")
    @TableId(type = IdType.ASSIGN_ID)
    private String outTradeNo;
	/**用户手机号*/
	@Excel(name = "用户手机号", width = 15)
    @ApiModelProperty(value = "用户手机号")
    private String userId;
    /**交易流水号*/
    @Excel(name = "交易流水号", width = 15)
    @ApiModelProperty(value = "交易流水号")
    private String tradeNo;

    /**具体描述信息*/
    @Excel(name = "具体描述信息", width = 15)
    @ApiModelProperty(value = "具体描述信息")
    private String body;

    /**商品标题*/
    @Excel(name = "商品标题", width = 15)
    @ApiModelProperty(value = "商品标题")
    private String subject;

    /**资金总额*/
    @Excel(name = "资金总额", width = 15)
    @ApiModelProperty(value = "资金总额")
    private String totalAmount;

    /**收款支付宝账号对应的支付宝唯一用户号*/
    @Excel(name = "收款支付宝账号对应的支付宝唯一用户号", width = 15)
    @ApiModelProperty(value = "收款支付宝账号对应的支付宝唯一用户号")
    private String sellerId;

    @Excel(name = "交易状态", width = 15)
    @ApiModelProperty(value = "交易状态")
    private String tradeStatus;
    /**订单创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "订单创建时间")
    private Date gmtCreate;
    /**付款时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "付款时间")
    private Date gmtPayment;
    /**买家支付宝唯一用户号*/
    @Excel(name = "买家支付宝唯一用户号", width = 15)
    @ApiModelProperty(value = "买家支付宝唯一用户号")
    private String buyerId;

	/**买家支付宝账号*/
	@Excel(name = "买家支付宝账号", width = 15)
    @ApiModelProperty(value = "买家支付宝账号")
    private String buyerLogonId;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String memo;
}
